package com.example.system.service;

import com.example.system.domain.chat.Group;
import com.example.system.domain.chat.GroupMember;

public interface IGroupService {
    boolean addGroupMember(GroupMember groupMember);

    boolean delGroupMember(GroupMember groupMember);

    int addGroup(Group group);

    void changeTheGroup(Long userId, Long oldGroupId, Long newGroupId);

    void delGroup(Long groupId);
}
